public class E6 {
    public static void main(String[] args) {
        int sum=0,i=0;
        do {
            i++;
            sum+=i;
        }while (sum<8888);
        i--;
        System.out.println("1+2+···+n<8888的n为："+i);
    }
}
